package Message.Public
{
    import Framework.Serialize.*;

    public class SBuffer extends Object
    {
        public var code:int;
        public var cdDt:Date;
        public var beginDt:Date;
        public var endDt:Date;
        public var value:int;
        public var count:int;
        public var remainSec:int;

        public function SBuffer()
        {
            
        }

        public function __write(param1:SerializeStream) : void
        {
            param1.writeInt(this.code);
            param1.writeDate(this.cdDt);
            param1.writeDate(this.beginDt);
            param1.writeDate(this.endDt);
            param1.writeInt(this.value);
            param1.writeInt(this.count);
            param1.writeInt(this.remainSec);
            
        }

        public function __read(param1:SerializeStream) : void
        {
            this.code = param1.readInt();
            this.cdDt = param1.readDate();
            this.beginDt = param1.readDate();
            this.endDt = param1.readDate();
            this.value = param1.readInt();
            this.count = param1.readInt();
            this.remainSec = param1.readInt();
            
        }

    }
}
